package org.compression.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.model.auth.Member;
import org.model.comm.Page;
@Mapper
public interface MemberMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);
    
    
    
    List<Member> getMembers(@Param("startIndex") long i,@Param("endIndex") long j);
    
    @Select("select count(1) from sm_user")
    public long getTotal();
    
    
    
}